package com.kan.awaits.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Column
{
	String name();

	boolean nullable() default true;

	boolean updateable() default true;

	boolean unique() default false;

	boolean insertable() default true;

	int length() default -1;

	String columnDefinition() default "";

	// Class<?> type() default Object.class;

	boolean secondaryTable() default false;

}
